<?php
/**
 * General configuration will be here
 */
$config['date_format'] = 'Y/m/d H:i';
$config['currency_code'] = 'JPY';
$config['page_limit'] = 6;
$config['email'] = array(
	'port'=>'587',
	'timeout'=>'30',
	'host' => 'adamscampus.com',
	'username'=>'info@adamscampus.com',
	'password'=>'0Asu8XjJ',
	'delivery'=> 'smtp',
	'from' => 'info@adamscampus.com',
);
$config['category'] = array(
	'1' => array('image' => 'icon_01.png', 'class' => 'blue'),
	'2' => array('image' => 'icon_02.png', 'class' => 'green'),
	'3' => array('image' => 'icon_03.png', 'class' => 'orange'),
	'4' => array('image' => 'icon_04.png', 'class' => 'purple'),
);
$config['point_ratio'] = 1000; //money to point
$config['roles'] = array('user', 'specical');//users

/**
 * Configuration for file
 */

$config['Course']['type'] = array('image/gif', 'image/jpeg', 'image/png');
$config['Course']['upload_dir_prefix'] = WWW_ROOT . 'files' . DS . 'course' . DS;
$config['Course']['upload_path_prefix'] = '/files/course/';
$config['Course']['height_icon_image'] = 350;
$config['Course']['width_icon_image'] = 500;
$config['Course']['max_icon_image_size'] = 2097152; //2MB
$config['Course']['created_delete'] = strtotime('-1 day'); //The time to keep temporary email before delete it
$config['Course']['limit_leave_time'] = strtotime('+2 day'); //The point of time that user can leave course he joined
$config['Course']['leaving_notification_email'] = 'info@adamscampus.com'; //The point of time that user can leave course he joined

$config['User']['upload_dir_prefix'] = WWW_ROOT . 'files' . DS . 'user' . DS;
$config['User']['upload_path_prefix'] = '/files/user/';
$config['User']['facebook_avatar'] = 'http://graph.facebook.com/';
$config['User']['default_icon_image'] = 'icon.jpg';
$config['User']['height_icon_image'] = 300;
$config['User']['width_icon_image'] = 300;
$config['User']['max_icon_image_size'] = 2 ; //2Mb

$config['Notification']['site_email'] = 'adamscampus@starmark.co.jp';
$config['User']['max_icon_image_size'] = 2 ; //2Mb
$config['EmailShel']['send_to_devs'] = false; //detect if send email to developer or not
$config['EmailShel']['email_of_dev'] = array('nhieunv@evolable.asia'); //email to developer, using for debug
$config['EmailShel']['time_to_delete_email'] = 14; //the days to keep emails before delete
$config['EmailShel']['number_of_record_for_one_send'] = 35;

$config['UserStatus']['user_status_expire_time'] = 30; //minutes